package modelo.escenario;

import modelo.geometria.Vector;
import modelo.geometria.Rectangulo;

public class Cruce extends Transitable {
	private String id;

	public Cruce(String id){
		this.id = id;
		super.sentido = Transitable.SentidoTransitable.NODO;
	}
	public String toString(){
		return  "Cruce " + this.id;
	}

	public Cruce(String id, Vector centro, double largo, double ancho) {
		this.id = id;
		super.superficie = new Rectangulo(centro, largo, ancho);
	}
}
